package com.njitzx.fileupload.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface FileService {
    Map<String, Object> getMd5(String md5);

    Map<String, Object> uploadV1(MultipartFile file);

    void uploadV2(Long fileID, Integer currentChunk, Integer totalChunk, MultipartFile file);

    Map<String, Object> merge(Long fileID, String fileType, String fileName);
}
